package com.mindskip.xzs.service;


import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.TaskExam;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.domain.Video;
import com.mindskip.xzs.viewmodel.admin.education.VideoPageRequestVM;
import com.mindskip.xzs.viewmodel.admin.task.TaskPageRequestVM;
import com.mindskip.xzs.viewmodel.admin.task.TaskRequestVM;

import java.util.List;

/**
 * @author changjiang
 * @Title:
 * @Package
 * @Description: 视频
 * @date 2022/1/209:23 下午
 */
public interface VideoService extends BaseService<Video> {

    /**
     *
     *
     * @return List<User>
     */
    List<Video> getVideo(Video video);


    List<Video> videoPage(VideoPageRequestVM Video);


    PageInfo<Video> page(VideoPageRequestVM requestVM);


    PageInfo<Video> pageList(VideoPageRequestVM requestVM);

    PageInfo<Video> page2(VideoPageRequestVM requestVM);


    int deleteByPrimaryKey(Long id);


    int insertSelective(Video record);

    int updateByPrimaryKeySelective(Video record);

    int updateByPrimaryKey(Video record);

    /**
     * 获取是否批阅
     * @param video
     * @return
     */
    List<Video> getVideoPaper(Video video);

    /**
     * 根据questtionId查状态
     * @param video
     * @return
     */
    Video getVideoByTag(Video video);


    /**
     *
     *
     * @return List<User>
     */
    List<Video> videoPage2List(Video video);




}
